const Base = require('./base');
const Sub = require('./sub');

var base = new Base();
console.log(base.name);
base.printText('Text');
base.printName();
console.log();

var sub = new Sub();
console.log(sub.name);
sub.printText('Text');
sub.printName();
console.log();

base = new Base();
console.log(base.name);
base.printText('Text');
base.printName();
console.log();
